package com.cdz.charger.domain;

import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import com.cdz.common.annotation.Excel;
import com.cdz.common.core.domain.BaseEntity;

/**
 * 用户反馈对象 feedback
 *
 * @author baefengk2
 * @date 2025-03-10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户反馈实体")
public class Feedback extends BaseEntity
        {
private static final long serialVersionUID=1L;

        /** 主键id */
        @ApiModelProperty(value = "主键ID")
        private Long id;

        /** 用户id */
        @Excel(name = "用户id")
        @ApiModelProperty(value = "用户id")
        private Long userId;

        /** 充电桩id */
        @Excel(name = "充电桩id")
        @ApiModelProperty(value = "充电桩id")
        private Long chargerId;

        /** 评分 */
        @Excel(name = "评分")
        @ApiModelProperty(value = "评分")
        private Integer score;

        /** 评论内容 */
        @Excel(name = "评论内容")
        @ApiModelProperty(value = "评论内容")
        private String comment;

        /** 提交时间 */
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
        @ApiModelProperty(value = "提交时间")
        private LocalDateTime submitTime;

}